package com.mcxx.modules.miniSalvation.special.service.write;

import com.mcxx.modules.miniSalvation.family.entity.OrganizationEntity;
import com.mcxx.modules.miniSalvation.special.dao.read.SpecialSignReadDao;
import com.mcxx.modules.miniSalvation.special.dao.write.SpecialSignWriteDao;
import com.mcxx.modules.miniSalvation.special.dto.SpecialSignDTO;
import com.mcxx.modules.miniSalvation.special.entity.SpecialSignEntity;
import com.mcxx.modules.miniSalvation.special.param.SpecialSignParam;
import com.yinhai.ta404.core.restservice.requestbean.PageParam;
import com.yinhai.ta404.core.restservice.resultbean.Page;
import com.yinhai.ta404.core.service.BaseService;
import com.yinhai.ta404.core.transaction.annotation.TaTransactional;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
@TaTransactional
public class SpecialSignWriteService extends BaseService {
    @Autowired
    private SpecialSignWriteDao specialSignWriteDao;


    public int insertIgnoreNull(SpecialSignEntity specialSignEntity) {
        return specialSignWriteDao.insertIgnoreNull(specialSignEntity);
    }

    public int updateIgnoreNull(SpecialSignEntity specialSignEntity) {
        return specialSignWriteDao.updateIgnoreNull(specialSignEntity);
    }

    public int deleteById(String id) {
        return specialSignWriteDao.deleteById(id);
    }

}
